a chemical used for purification of water